| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | $(document).ready(function () { | 
            ||
| 2 |     $('#ref-dropdown').on('change', function () { | 
            ||
| 3 |         var bonus = $('option:selected', this).data('bonus'); | 
            ||
| 4 |         var bonus_text = bonus_translate.replace('%referal_bonus%', bonus); | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 5 |         $('#bonus_text').text(bonus_text); | 
            ||
| 6 | });  | 
            ||
| 7 | })  | 
            
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.